package com.software.car.mapper;

import com.software.car.entity.dto.request.ModelOptionRequest;
import com.software.car.entity.dto.response.ModelOptionResponse;
import com.software.car.entity.dto.response.ModelResponse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 魔法はまだ解けない
 * @Date 2021/2/22
 */
@Mapper
public interface ModelOptionMapper {

    int addOptions(List<ModelOptionRequest> optionDtos);

    List<ModelOptionResponse> getModelOptions(String modelId,Integer state);
}
